package com.wuhao.springboot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wuhao.springboot.entity.Part;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Description
 * @Date 2023/1/30 23:25
 * @Author pq
 */
public interface PartService {

    String uploadImg(MultipartFile file);

    void addPart(Part part);

    IPage<Part> getPartByPage(int current, int size);

    void delete(Integer id);

    void update(Part part);
}
